package com.platform.dao;

import com.platform.base.BaseMapper;
import com.platform.pojo.Psad0001;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface Psad0001Mapper extends BaseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Psad0001 record);

    int insertSelective(Psad0001 record);

    Psad0001 selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Psad0001 record);

    int updateByPrimaryKey(Psad0001 record);

    List<Map> selectByParamMap(Map map);

    Map selectByUserName(String userName);

    int selectVersionById(@Param(value = "id") Integer id);

    int updatePsadStatus(Map paramMap);

}